package com.itheima.Jiuye12;

import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class PropertiesDemo {
    public static void main(String[] args) throws IOException {
        Properties pop = new Properties();   //创建properties对象
        FileReader fr = new FileReader("mJiuYe\\ExceptionTest.properties");
        pop.load(fr);
        fr.close();
        System.out.println(pop);
    }
}
